package day1;
import java.util.*;
//电影
public class test {
    public static void main(String[] args) {
        movie film[] = new movie[6];
        film[0] = new movie("1", "喜羊羊", 50);
        film[1] = new movie("2", "mei羊羊", 50);
        film[2] = new movie("3", "lan羊羊", 50);
        film[3] = new movie("4", "nuan羊羊", 50);
        film[4] = new movie("5", "man羊羊", 50);
        film[5] = new movie("6", "wu羊羊", 50);
        /*movieOperator mo;
        for(int i=0;i<6;i++)
        mo.film[i]=film[i];*/

        // new movieOperator(film[i]);
        //movieOperator mo=new movieOperator(film);
        //movieOperator mo=new movieOperator(film);

        // movieOperator mo=new movieOperator(film);//完全可以用单例,但是只能自己用方法去赋值类里面的数组了


//             Scanner sc=new Scanner(System.in);
//             String res=sc.next();
//           //  mo.research(res);
//        movieOperator.getM1().research(res,film);

        we w = new we();
        //    System.out.println(w.getMovies().getPrice());
//        movie me=new movie("1","asd",123.0);
//        System.out.println(me.getName());
//        System.out.println(me.getId());
//        System.out.println(me.getPrice());


    }
}
